import request from '@/utils/request'

// 计量列表
export function adminLists(params: any) {
    return request.get({ url: '/material.category/lists', params })
}

// 计量添加
export function adminAdd(params: any) {
    return request.post({ url: '/material.category/add', params })
}
// 计量编辑
export function adminEdit(params: any) {
    return request.post({ url: '/material.category/edit', params })
}

// 计量删除
export function adminDelete(params: any) {
    return request.post({ url: '/material.category/delete', params })
}